import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
// https://vitejs.dev/config/
export default defineConfig({
	base: "./",
	plugins: [
		uni(),
	],
	server: {
		port: 5100,
		fs: {
			// Allow serving files from one level up to the project root
			allow: ['..']
		}
	},
	build: {
		rollupOptions: {
			// external: ['uview-plus']
		},
		// sourcemap: true,
	}
});